package com.briup.day14;
/**
 * @author 王瑞鹏
 * 构造器this测试
 * 方法重载
 * */
public class OverLoad {
	
	   public OverLoad() {
		   this("a", 10);
		   System.out.println("A");
		}
	  
	   public OverLoad(int a, int b) {
		   this(a + b);
		   System.out.println("B");
		}
		
	   public OverLoad(int a) {
		   this(a, a,""+ a);
		   System.out.println("C");
		}
	   
		public OverLoad(String a, int b) {
		    this(10,10);
		    System.out.println("D");
		}
		
		public OverLoad(int a, int b, String c) {
			System.out.println("E");
		}

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		new OverLoad();

	}

}
